package ace.module.captcha.core.impl.converter;

import ace.cmp.converter.api.AceConverter;
import ace.cmp.mapstruct.core.constant.MapStructConstants;
import ace.module.captcha.api.model.dto.CaptchaItemDto;
import ace.module.captcha.core.impl.dao.entity.CaptchaItem;
import org.mapstruct.Mapper;

/**
 * @author caspar
 * @date 2023/3/23 11:43
 */
@Mapper(componentModel = MapStructConstants.COMPONENT_MODEL_SPRING)
public interface CaptchaItemConverter extends AceConverter<CaptchaItem, CaptchaItemDto> {
  CaptchaItemDto convert(CaptchaItem captchaItem);
}
